<template>
  <el-breadcrumb separator-class="el-icon-arrow-right">
    <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item>{{ firstTitle }}</el-breadcrumb-item>
    <el-breadcrumb-item>{{ secondTitle }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script>
export default {
  name: 'MyBreadcrumb',
  props: {
    firstTitle: {
      type: String,
      default: '第一标题'
    },
    secondTitle: {
      type: String,
      default: '第二标题'
    }
  }
}
</script>

<style lang="less" scoped>
</style>